package com.fss.approval1.mapper;

import java.util.List;
import com.fss.approval1.domain.LoanApproval1;

/**
 * 贷款审核Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-02
 */
public interface LoanApproval1Mapper 
{
    /**
     * 查询贷款审核
     * 
     * @param approvalId 贷款审核主键
     * @return 贷款审核
     */
    public LoanApproval1 selectLoanApproval1ByApprovalId(Long approvalId);

    /**
     * 查询贷款审核列表
     * 
     * @param loanApproval1 贷款审核
     * @return 贷款审核集合
     */
    public List<LoanApproval1> selectLoanApproval1List(LoanApproval1 loanApproval1);

    /**
     * 新增贷款审核
     * 
     * @param loanApproval1 贷款审核
     * @return 结果
     */
    public int insertLoanApproval1(LoanApproval1 loanApproval1);

    /**
     * 修改贷款审核
     * 
     * @param loanApproval1 贷款审核
     * @return 结果
     */
    public int updateLoanApproval1(LoanApproval1 loanApproval1);

    /**
     * 删除贷款审核
     * 
     * @param approvalId 贷款审核主键
     * @return 结果
     */
    public int deleteLoanApproval1ByApprovalId(Long approvalId);

    /**
     * 批量删除贷款审核
     * 
     * @param approvalIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLoanApproval1ByApprovalIds(Long[] approvalIds);
}
